<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script src="http://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
</head>
<body>

<a href="" id="test-jquery">点我</a>

<script>

    $('#test-jquery').click(function(){
        alert('hello, jQuery');
    })
</script>
</body>
</html>